package p5_5;

public class PowerGenerator {
//variables
public double factor =0;
	
	
//constructor
public PowerGenerator(double factor)
{
	this.factor=factor;
}

	public double nextPower()
	{
		return Math.pow(10, factor);
	}
	
}
